using FileMonitorService;

var builder = Host.CreateApplicationBuilder(args);
builder.Services.AddHostedService<FileMonitorWorker>();
builder.Services.AddWindowsService(options =>
{
    options.ServiceName = "FileMonitorService";
});
var host = builder.Build();

host.Run();
